import request from '@/utils/request'

// 查询前台菜单权限列表
export function listReceptionMenu(query) {
  return request({
    url: '/system/receptionMenu/list',
    method: 'get',
    params: query
  })
}

// 查询前台菜单权限详细
export function getReceptionMenu(menuId) {
  return request({
    url: '/system/receptionMenu/' + menuId,
    method: 'get'
  })
}

// 新增前台菜单权限
export function addReceptionMenu(data) {
  return request({
    url: '/system/receptionMenu',
    method: 'post',
    data: data
  })
}

// 修改前台菜单权限
export function updateReceptionMenu(data) {
  return request({
    url: '/system/receptionMenu',
    method: 'put',
    data: data
  })
}

// 删除前台菜单权限
export function delReceptionMenu(menuId) {
  return request({
    url: '/system/receptionMenu/' + menuId,
    method: 'delete'
  })
}
